﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace Sequence
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
         public static MDISequence mf = null;
        [STAThread]
        static void Main(string[] arg)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            if (arg.Length == 0)
            {
                mf = new MDISequence();
                Application.Run(mf);
            }
            else
            {
                // Example RunBatch batchId=51 Next=123

                MDISequence oMDISequence = new MDISequence();
                oMDISequence.RunCommand(arg);

            }
        }
    }
}
